import React from 'react';
import { BrowserRouter } from "react-router-dom";
import RouterList  from './routers/index'
function App() {
  // React.useEffect(() => {
  //   async function fetchData() {
  //     const res=await React.$api.login();
  //     console.log(res);
  //   }
  //   fetchData();
  // })
  return (
    <BrowserRouter>
    <RouterList/>
  </BrowserRouter>
  );
}

export default App;
